package arbre.utils;

import java.io.Serializable;

public class ContentNode implements Serializable{
	private String t;
	private String id;
	private Float a;
	
	
	public ContentNode(){
		
	}
	public ContentNode(String t, String i, Float abs, Point d, Point f){
		this.t=t;
		this.id= i;
		this.a=abs;
		
		
	}

	@Override
	public String toString() {
		StringBuffer sbf = new StringBuffer();
		sbf.append("content{ type:"+t+",id:"+id);
		if(a!=null){
			sbf.append(",abs:"+a);
		}
		sbf.append("}");
		return sbf.toString();
	}
	public String getT() {
		return t;
	}
	public void setT(String t) {
		this.t = t;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Float getA() {
		return a;
	}
	public void setA(Float a) {
		this.a = a;
	}
	
	
	
	
}
